<?php
$GLOBALS['G']['guest_lvl_cfg'] = array(
	// 顾客等级配置
	// $lvl => array()
	1 => array(
		'price_add' => 0.01,//价格加成
		'min_quality' => 2160//最低品质要求 
	),
	2 => array(
		'price_add' => 0.02,//价格加成
		'min_quality' => 2520//最低品质要求 
	),
	3 => array(
		'price_add' => 0.03,//价格加成
		'min_quality' => 2610//最低品质要求 
	),
	4 => array(
		'price_add' => 0.04,//价格加成
		'min_quality' => 2880//最低品质要求 
	),
	5 => array(
		'price_add' => 0.05,//价格加成
		'min_quality' => 2970//最低品质要求 
	),
	6 => array(
		'price_add' => 0.06,//价格加成
		'min_quality' => 3060//最低品质要求 
	),
	7 => array(
		'price_add' => 0.07,//价格加成
		'min_quality' => 3240//最低品质要求 
	),
	8 => array(
		'price_add' => 0.08,//价格加成
		'min_quality' => 3330//最低品质要求 
	),
	9 => array(
		'price_add' => 0.09,//价格加成
		'min_quality' => 3420//最低品质要求 
	),
	10 => array(
		'price_add' => 0.1,//价格加成
		'min_quality' => 3600//最低品质要求 
	),
	11 => array(
		'price_add' => 0.11,//价格加成
		'min_quality' => 3690//最低品质要求 
	),
	12 => array(
		'price_add' => 0.12,//价格加成
		'min_quality' => 3780//最低品质要求 
	),
	13 => array(
		'price_add' => 0.13,//价格加成
		'min_quality' => 3960//最低品质要求 
	),
	14 => array(
		'price_add' => 0.14,//价格加成
		'min_quality' => 4050//最低品质要求 
	),
	15 => array(
		'price_add' => 0.15,//价格加成
		'min_quality' => 4140//最低品质要求 
	),
	16 => array(
		'price_add' => 0.16,//价格加成
		'min_quality' => 4320//最低品质要求 
	),
	17 => array(
		'price_add' => 0.17,//价格加成
		'min_quality' => 4410//最低品质要求 
	),
	18 => array(
		'price_add' => 0.18,//价格加成
		'min_quality' => 4500//最低品质要求 
	),
	19 => array(
		'price_add' => 0.19,//价格加成
		'min_quality' => 4680//最低品质要求 
	),
	20 => array(
		'price_add' => 0.2,//价格加成
		'min_quality' => 4770//最低品质要求 
	),
	21 => array(
		'price_add' => 0.21,//价格加成
		'min_quality' => 4860//最低品质要求 
	),
	22 => array(
		'price_add' => 0.22,//价格加成
		'min_quality' => 5040//最低品质要求 
	),
	23 => array(
		'price_add' => 0.23,//价格加成
		'min_quality' => 5130//最低品质要求 
	),
	24 => array(
		'price_add' => 0.24,//价格加成
		'min_quality' => 5220//最低品质要求 
	),
	25 => array(
		'price_add' => 0.25,//价格加成
		'min_quality' => 5400//最低品质要求 
	),
	26 => array(
		'price_add' => 0.26,//价格加成
		'min_quality' => 5490//最低品质要求 
	),
	27 => array(
		'price_add' => 0.27,//价格加成
		'min_quality' => 5580//最低品质要求 
	),
	28 => array(
		'price_add' => 0.28,//价格加成
		'min_quality' => 5850//最低品质要求 
	),
	29 => array(
		'price_add' => 0.29,//价格加成
		'min_quality' => 5940//最低品质要求 
	),
	30 => array(
		'price_add' => 0.3,//价格加成
		'min_quality' => 6300//最低品质要求 
	),
	
);
// 店铺所有售出商品的平均品质和等级对应关系
$GLOBALS['G']['guest_lvl_avg_quality'] = array(
	// $lvl => array()
	1  => 2400, 
	2  => 2800, 
	3  => 2900, 
	4  => 3200, 
	5  => 3300, 
	6  => 3400, 
	7  => 3600, 
	8  => 3700, 
	9  => 3800, 
	10  => 4000,
	11  => 4100,
	12  => 4200,
	13  => 4400,
	14  => 4500,
	15  => 4600,
	16  => 4800,
	17  => 4900,
	18  => 5000,
	19  => 5200,
	20  => 5300,
	21  => 5400,
	22  => 5600,
	23  => 5700,
	24  => 5800,
	25  => 6000,
	26  => 6100,
	27  => 6200,
	28  => 6500,
	29  => 6600,
	30  => 7000,
);

return array(
	1 => array(
		'name' => '大头',
	),
	2 => array(
		'name' => '小头',
	),
);


